home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol K-12 / Vol K-12.iso / games / r2000 / r2000 / tire_r.x < prev    next >
Text File  |  2012-08-27  |  7KB  |  399 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header{
  129. 1;
  130. 0;
  131. 1;
  132. }
  133.  
  134. Mesh {
  135.  44;
  136.  0.11250;0.00000;-0.00000;,
  137.  0.11250;-0.12931;-0.17798;,
  138.  0.11250;0.00000;-0.22000;,
  139.  0.11250;-0.20923;-0.06798;,
  140.  0.11250;-0.20923;0.06798;,
  141.  0.11250;-0.12931;0.17798;,
  142.  0.11250;0.00000;0.22000;,
  143.  0.11250;0.12931;0.17798;,
  144.  0.11250;0.20923;0.06798;,
  145.  0.11250;0.20923;-0.06798;,
  146.  0.11250;0.12931;-0.17798;,
  147.  -0.11250;0.00000;-0.00000;,
  148.  -0.11250;0.00000;-0.22000;,
  149.  -0.11250;-0.12931;-0.17798;,
  150.  -0.11250;-0.20923;-0.06798;,
  151.  -0.11250;-0.20923;0.06798;,
  152.  -0.11250;-0.12931;0.17798;,
  153.  -0.11250;0.00000;0.22000;,
  154.  -0.11250;0.12931;0.17798;,
  155.  -0.11250;0.20923;0.06798;,
  156.  -0.11250;0.20923;-0.06798;,
  157.  -0.11250;0.12931;-0.17798;,
  158.  0.11250;-0.12931;-0.17798;,
  159.  -0.11250;-0.12931;-0.17798;,
  160.  -0.11250;0.00000;-0.22000;,
  161.  0.11250;0.00000;-0.22000;,
  162.  0.11250;-0.20923;-0.06798;,
  163.  -0.11250;-0.20923;-0.06798;,
  164.  0.11250;-0.20923;0.06798;,
  165.  -0.11250;-0.20923;0.06798;,
  166.  0.11250;-0.12931;0.17798;,
  167.  -0.11250;-0.12931;0.17798;,
  168.  0.11250;0.00000;0.22000;,
  169.  -0.11250;0.00000;0.22000;,
  170.  0.11250;0.12931;0.17798;,
  171.  -0.11250;0.12931;0.17798;,
  172.  -0.11250;0.00000;0.22000;,
  173.  0.11250;0.00000;0.22000;,
  174.  0.11250;0.20923;0.06798;,
  175.  -0.11250;0.20923;0.06798;,
  176.  0.11250;0.20923;-0.06798;,
  177.  -0.11250;0.20923;-0.06798;,
  178.  0.11250;0.12931;-0.17798;,
  179.  -0.11250;0.12931;-0.17798;;
  180.  
  181.  40;
  182.  3;0,1,2;,
  183.  3;0,3,1;,
  184.  3;0,4,3;,
  185.  3;0,5,4;,
  186.  3;0,6,5;,
  187.  3;0,7,6;,
  188.  3;0,8,7;,
  189.  3;0,9,8;,
  190.  3;0,10,9;,
  191.  3;0,2,10;,
  192.  3;11,12,13;,
  193.  3;11,13,14;,
  194.  3;11,14,15;,
  195.  3;11,15,16;,
  196.  3;11,16,17;,
  197.  3;11,17,18;,
  198.  3;11,18,19;,
  199.  3;11,19,20;,
  200.  3;11,20,21;,
  201.  3;11,21,12;,
  202.  3;22,23,24;,
  203.  3;22,24,25;,
  204.  3;26,27,23;,
  205.  3;26,23,22;,
  206.  3;28,29,27;,
  207.  3;28,27,26;,
  208.  3;30,31,29;,
  209.  3;30,29,28;,
  210.  3;32,33,31;,
  211.  3;32,31,30;,
  212.  3;34,35,36;,
  213.  3;34,36,37;,
  214.  3;38,39,35;,
  215.  3;38,35,34;,
  216.  3;40,41,39;,
  217.  3;40,39,38;,
  218.  3;42,43,41;,
  219.  3;42,41,40;,
  220.  3;25,24,43;,
  221.  3;25,43,42;;
  222.  
  223.  MeshMaterialList {
  224.   2;
  225.   40;
  226.   0,
  227.   0,
  228.   0,
  229.   0,
  230.   0,
  231.   0,
  232.   0,
  233.   0,
  234.   0,
  235.   0,
  236.   0,
  237.   0,
  238.   0,
  239.   0,
  240.   0,
  241.   0,
  242.   0,
  243.   0,
  244.   0,
  245.   0,
  246.   1,
  247.   1,
  248.   1,
  249.   1,
  250.   1,
  251.   1,
  252.   1,
  253.   1,
  254.   1,
  255.   1,
  256.   1,
  257.   1,
  258.   1,
  259.   1,
  260.   1,
  261.   1,
  262.   1,
  263.   1,
  264.   1,
  265.   1;;
  266.   Material {
  267.    1.000000;1.000000;1.000000;1.000000;;
  268.    0.160000;
  269.    0.000000;0.000000;0.000000;;
  270.    0.280000;0.280000;0.280000;;
  271.    TextureFilename {
  272.     "TIRE.bmp";
  273.    }
  274.   }
  275.   Material {
  276.    1.000000;1.000000;1.000000;1.000000;;
  277.    0.000000;
  278.    0.000000;0.000000;0.000000;;
  279.    0.000000;0.000000;0.000000;;
  280.    TextureFilename {
  281.     "tred.bmp";
  282.    }
  283.   }
  284.  }
  285.  MeshNormals {
  286.   22;
  287.   1.000000;0.000000;0.000000;,
  288.   -1.000000;0.000000;0.000000;,
  289.   -0.000000;-0.497256;-0.867604;,
  290.   -0.000000;-0.671480;-0.741022;,
  291.   -0.000000;-0.107677;-0.994186;,
  292.   0.000000;0.107677;-0.994186;,
  293.   -0.000000;-0.912253;-0.409627;,
  294.   0.000000;-0.978801;-0.204814;,
  295.   0.000000;-0.978801;0.204814;,
  296.   -0.000000;-0.912253;0.409627;,
  297.   -0.000000;-0.671480;0.741023;,
  298.   -0.000000;-0.497255;0.867604;,
  299.   -0.000000;-0.107677;0.994186;,
  300.   0.000000;0.107677;0.994186;,
  301.   0.000000;0.497255;0.867604;,
  302.   0.000000;0.671480;0.741023;,
  303.   0.000000;0.912253;0.409627;,
  304.   0.000000;0.978801;0.204814;,
  305.   0.000000;0.978801;-0.204814;,
  306.   0.000000;0.912253;-0.409628;,
  307.   0.000000;0.671480;-0.741023;,
  308.   0.000000;0.497256;-0.867604;;
  309.   40;
  310.   3;0,0,0;,
  311.   3;0,0,0;,
  312.   3;0,0,0;,
  313.   3;0,0,0;,
  314.   3;0,0,0;,
  315.   3;0,0,0;,
  316.   3;0,0,0;,
  317.   3;0,0,0;,
  318.   3;0,0,0;,
  319.   3;0,0,0;,
  320.   3;1,1,1;,
  321.   3;1,1,1;,
  322.   3;1,1,1;,
  323.   3;1,1,1;,
  324.   3;1,1,1;,
  325.   3;1,1,1;,
  326.   3;1,1,1;,
  327.   3;1,1,1;,
  328.   3;1,1,1;,
  329.   3;1,1,1;,
  330.   3;2,3,4;,
  331.   3;2,4,5;,
  332.   3;6,7,3;,
  333.   3;6,3,2;,
  334.   3;8,9,7;,
  335.   3;8,7,6;,
  336.   3;10,11,9;,
  337.   3;10,9,8;,
  338.   3;12,13,11;,
  339.   3;12,11,10;,
  340.   3;14,15,13;,
  341.   3;14,13,12;,
  342.   3;16,17,15;,
  343.   3;16,15,14;,
  344.   3;18,19,17;,
  345.   3;18,17,16;,
  346.   3;20,21,19;,
  347.   3;20,19,18;,
  348.   3;5,4,21;,
  349.   3;5,21,20;;
  350.  }
  351.  MeshTextureCoords {
  352.   44;
  353.   -0.500000;0.500000;
  354.   -0.968380;0.840300;
  355.   -1.078950;0.500000;
  356.   -0.678900;1.050610;
  357.   -0.321100;1.050610;
  358.   -0.031620;0.840300;
  359.   0.078950;0.500000;
  360.   -0.031620;0.159700;
  361.   -0.321100;-0.050610;
  362.   -0.678900;-0.050610;
  363.   -0.968380;0.159700;
  364.   -0.500000;0.500000;
  365.   -1.078950;0.500000;
  366.   -0.968380;0.840300;
  367.   -0.678900;1.050610;
  368.   -0.321100;1.050610;
  369.   -0.031620;0.840300;
  370.   0.078950;0.500000;
  371.   -0.031620;0.159700;
  372.   -0.321100;-0.050610;
  373.   -0.678900;-0.050610;
  374.   -0.968380;0.159700;
  375.   -0.100000;1.011360;
  376.   -0.100000;-0.011360;
  377.   0.000000;-0.011360;
  378.   -0.000000;1.011360;
  379.   -0.200000;1.011360;
  380.   -0.200000;-0.011360;
  381.   -0.300000;1.011360;
  382.   -0.300000;-0.011360;
  383.   -0.400000;1.011360;
  384.   -0.400000;-0.011360;
  385.   -0.500000;1.011360;
  386.   -0.500000;-0.011360;
  387.   0.400000;1.011360;
  388.   0.400000;-0.011360;
  389.   0.500000;-0.011360;
  390.   0.500000;1.011360;
  391.   0.300000;1.011360;
  392.   0.300000;-0.011360;
  393.   0.200000;1.011360;
  394.   0.200000;-0.011360;
  395.   0.100000;1.011360;
  396.   0.100000;-0.011360;;
  397.  }
  398. }
  399.